home *** CD-ROM | disk | FTP | other *** search
/ Golf Digest's Best Places to Play / Golf Digest's Best Places to Play.iso / diamond / dbrs_ibm.dir / 00027_Script_JewelerScript < prev    next >
Text File  |  1995-05-15  |  660b  |  25 lines

  1. on exitFrame
  2.   go to marker(0)+4
  3. end
  4.  
  5. on mouseDown
  6.   set ButtonNum=the clickOn
  7.   if ButtonNum>0 then
  8.     set ButtonName=the name of cast (the castNum of sprite ButtonNum)
  9.     if chars(ButtonName,1,6) = "ToMain" then
  10.       if PressBtn(ButtonNum) then
  11.         AllPuppetsOff
  12.         updateStage
  13.         go to marker(0)+5
  14.       end if
  15.     end if
  16.     if chars(ButtonName,1,4) = "Help" then
  17.       if PressBtn(ButtonNum) then
  18.         showHelp
  19.         puppetsprite ButtonNum, true
  20.         set the castNum of sprite ButtonNum to the number of cast (ButtonName)
  21.         puppetsprite ButtonNum, false
  22.       end if
  23.     end if
  24.   end if
  25. end mouseDown